package com.cdht.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class ResquestEncryptResult {
   
    public static final String SUCCESS = "0";
    public static final String FAIL = "1";
    
    @JsonIgnore
    String code ;
    String encryptData ;
    String encryptKey;
    String sign;
    @JsonIgnore
    String msg;
    
    public String getEncryptData() {
        return encryptData;
    }
    public void setEncryptData(String encryptData) {
        this.encryptData = encryptData;
    }
    public String getEncryptKey() {
        return encryptKey;
    }
    public void setEncryptKey(String encryptKey) {
        this.encryptKey = encryptKey;
    }
    public String getSign() {
        return sign;
    }
    public void setSign(String sign) {
        this.sign = sign;
    }
    
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    
    
    
    public ResquestEncryptResult() {
        super();
    }
    
    public ResquestEncryptResult(String encryptData, String encryptKey, String sign) {
        super();
        this.encryptData = encryptData;
        this.encryptKey = encryptKey;
        this.sign = sign;
    }
    
    public ResquestEncryptResult(String code, String encryptData, String encryptKey, String sign, String msg) {
        super();
        this.code = code;
        this.encryptData = encryptData;
        this.encryptKey = encryptKey;
        this.sign = sign;
        this.msg = msg;
    }
    
    
   
    @Override
    public String toString() {
        return "ResquestEncryptResult [code=" + code + ", encryptData=" + encryptData + ", encryptKey=" + encryptKey
                + ", sign=" + sign + ", msg=" + msg + "]";
    }
    
}
